<?php
$siteUrl = 'http://il.php.net/manual/en/function.file-get-contents.php';
//$html = file_get_contents($siteUrl);
$html = '<html></html>';
$doc = new DOMDocument();
$doc->loadHTML($html);
var_dump();